package com.inspection.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 考核事件整改 事件-整改 1v1
 */

@Data
public class InspectionEventCorrectDTO implements Serializable {



    private Long id;

    private Long eventId;

    /**
     * 整改情况
     */
    private String correctContent;

    /**
     * 整改完成日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date correctDate;

    /**
     * 填报人id
     */
    private Long reportUserId;

    /**
     * 填报人 姓名
     */
    private String reportUserName;

    /**
     * 填报日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date reportDate;

    /**
     * 是否整改
     * 1 已整改
     * 0 未整改
     */
    private Integer isCorrect;

    private Date dateCreate;

    private Date dateUpdate;

    private Integer isDel;

}
